package com.CST.entity.cb;

import com.CST.common.BaseEntity;
import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * <p>
 * 
 * </p>
 *
 * @author qtx
 * @since 2023-05-18
 */
@Getter
@Setter
@TableName("JX_COST")
@ApiModel(value = "JxCost对象", description = "")
public class JxCost {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ID", type = IdType.AUTO)
    @ExcelIgnore
    private Long id;

    @ApiModelProperty(value = "年")
    @ExcelProperty("年")
    @ColumnWidth(15)
    @TableField("YEAR")
    private Integer year;

    @ApiModelProperty(value = "月")
    @ExcelProperty("月")
    @ColumnWidth(15)
    @TableField("MONTH")
    private Integer month;


    @ApiModelProperty(value = "核算序号")
    @ExcelProperty("核算序号")
    @TableField("DEPT_CODE")
    private String deptCode;

    @ApiModelProperty(value = "部门名称")
    @ExcelProperty("部门名称")
    @TableField("DEPT_NAME")
    private String deptName;


    @ApiModelProperty(value = "会计分类编号")
    @ExcelProperty("会计分类编号")
    @ColumnWidth(30)
    @TableField("ACCOUNT_CODE")
    private String accountCode;

    @ApiModelProperty(value = "会计分类名称")
    @ExcelProperty("会计分类名称")
    @ColumnWidth(30)
    @TableField("ACCOUNT_NAME")
    private String accountName;

    @ApiModelProperty(value = "金额")
    @ExcelProperty("金额")
    @TableField("AMOUNT")
    private BigDecimal amount;

}
